package cn.starrysky108.simpleerp.system.entity;

import cn.starrysky108.simpleerp.core.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 供应商信息表
 * </p>
 *
 * @author Carl Lee
 * @since 2021-08-14
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("system_provider")
@ApiModel(value = "SystemProvider对象", description = "供应商信息表")
public class SystemProvider extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "编码名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "描述")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "供应商负责人")
    @TableField("principal")
    private Long principal;

    @ApiModelProperty(value = "官网")
    @TableField("url")
    private String url;

    @ApiModelProperty(value = "logo图标")
    @TableField("logo")
    private String logo;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;



}
